package edu.com.wjt219971332.service;

import edu.com.wjt219971332.entity.Singer;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;


public interface SingerService {


    Singer queryById(Integer singerid);


    Page<Singer> queryByPage(Singer singer, PageRequest pageRequest);


    int insert(Singer singer);


    int update(Singer singer);


    boolean deleteById(Integer singerid);

    List<Singer> queryByusername(String name);

    Singer queryBysingername(String asinger);
}
